﻿<?php
session_start();

	include_once'../module/DBConnect.php';
     if(isset($_REQUEST['value']))
     {
         $updateContact= new DBConnect();
		 $data   =    json_decode($_REQUEST['value'],true);
    //just echo an item in the array
    //echo "key1 : ".$data["key1"];
         $updateContact->UpdateContact($data["diachi"],$data["email"],$data["dienthoai"],$data["didong"], $data["skype"], $data["yahoo"], $data["facebook"]);    
     }
?>